from app import db, loginmanager




class UserRole(db.Model):
    __tablename__ = 'sys_user_role'
    user_id = db.Column(db.String(36), db.ForeignKey("sys_user.id"), primary_key=True, comment='用户id')
    role_id = db.Column(db.String(36), db.ForeignKey("sys_role.id"), primary_key=True, comment='角色id')

